package com.feihao.zhou.dao.impl;

import com.feihao.zhou.dao.UserDao;
import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Component;

@Component("userDao")
@DependsOn("userService")
public class UserDaoImpl implements UserDao {

    public UserDaoImpl() {
        System.out.println("Dao构造执行！");
    }

    public void say() {
        System.out.println("UserDao执行了");
    }
}
